Search results
2377 packages found
Is this value negative zero? === will lie to you
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.
Get the native type of a value.
A simple utility to Check the value is number or can convert to a number, for example string ' 123 ' can be converted to 123.
Test if a value is a number.
Provides calculation functions related to complex numbers.
JavaScript library for efficient prime number detection and arithmetic, with customizable algorithms for large numbers.
Test if a double-precision floating-point numeric value is NaN.
- stdlib
- stdmath
- assertion
- assert
- utilities
- utility
- utils
- util
- math
- mathematics
- ieee754
- floating-point
- float
- number
- View more
Returns `true` if the value is a primitive.
ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.
Test if a double-precision floating-point numeric value is infinite.
- stdlib
- stdmath
- assertion
- assert
- utilities
- utility
- utils
- util
- math
- mathematics
- ieee754
- floating-point
- float
- double
- View more
Test if a value is a number having a nonnegative value.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- number
- numeric
- nonnegative
- is
- isnumber
- isnumeric
- View more
Test if a value is a number having a positive value.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- number
- numeric
- positive
- is
- isnumber
- isnumeric
- View more
Test if a value is a number having a positive integer value.
Set of shortands of Object.prototype.toString for fast and simple type check
Test if a value is a number having a nonnegative integer value.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- number
- numeric
- integer
- int
- nonnegative
- is
- View more
Test if a value is a number having an integer value.
Isomorphic, functional type-checking for Javascript
A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.